<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <title>Document</title>
</head>
<body>
<div class="container">
    <div class="row">
        <table class="table table-bordered">
            <tr>
                <th>1</th>
                <th>2</th>
                <th>3</th>
                <th>4</th>
            </tr>
            @foreach($data as $key=>$v)
            <tr>
                <td>{{$v->username}}</td>
                <td>{{$v->create_time}}</td>
                <td><a href="{{route('blogDel',['id'=>$v->id])}}" class="btn">删除</a></td>
                <td></td>
            </tr>
            @endforeach

        </table>
        <nav aria-label="...">
            <ul class="pagination">
                {{ $data->links() }}
            </ul>
        </nav>
    </div>

</div>

</body>
</html>